@charset "UTF-8";
$fontSize:40;   
@function r($p) {
    @return $p/$fontSize*1rem;
}
*{
    box-sizing: border-box;
    font-size: 0;
}
html,body{
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.web{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-image: url(../img/Hbackground.jpg);
    >.first{
        >.provinceChange{
            width: r(90);
            height: r(38);
            position: absolute;
            z-index: 999;
            left: r(45);
            top:r(36);
            >img{
                width: 100%;
                height: 100%;
            }
        }
        >.province{
            width: r(500);
            position: absolute;
            left:50%;
            transform: translateX(-50%);
            top: 4%; 
            >img{  
                width: 100%;
            }
        }
        >.province:first-of-type{
            display: block;
        }
        >.province:last-of-type{
            display: none;
        }
        >.test{
            text-align: right;
            font-size: r(40);
            position: absolute;
            top:26%;
            right: r(27);
            color: #e7c598;
            >span{
                font-size: r(50);
            }
        }
        >.aboutDescription{
            position: absolute;
            width: r(531);
            bottom: r(125);
            left: 50%;
            transform: translateX(-50%);
            color: #e7c598;
            >h1{
               font-size: r(30); 
               margin-bottom: r(8);
            }
            >p{
                font-size: r(20);
                line-height: r(35);
            }
        }
        >.toMap{
            color: #e7c598;
            position: absolute; 
            background: none;
            width:r(318);
            bottom: r(64);
            left: 50%;
            transform: translateX(-50%);
            >img{
                width: 100%;
            }
        }
    }
    >.home{
        position: absolute;
        bottom: r(25);
        right: r(56);
        height: r(41);
        >a{
            height: 100%;
           >img{
            height: 100%;
            } 
        }
    }
    >.map{
        display: none;
        margin: 0 auto;
        margin-top: r(212);
        width: 100%;
         >#container{
            width: 100%;
            height: r(643);
            margin-bottom: r(40); 
        }
        >p{
            font-size: r(34);
            color: #e7c598;
            text-align: center;
        }
    }
}
.info{
    width:26rem;
}
.custom-input-card {
    width: 22rem;
}

.custom-input-card .btn {
    margin-right: 1rem;
}

.custom-input-card .btn:last-child {
    margin-right: 0;
}
.info-title {
    color: white;
    font-size: 14px;
    background-color: #25A5F7;
    line-height: 26px;
    padding: 0px 0 0 6px;
    font-weight: lighter;
    letter-spacing: 1px
}

.info-content {
    font: 12px Helvetica, 'Hiragino Sans GB', 'Microsoft Yahei', '微软雅黑', Arial;
    padding: 4px;
    color: #666666;
    line-height: 23px;
}
.amap-info-combo .keyword-input{
    height: 25px;
    border-radius: 2px 0 0 2px;
}
.tab,.search-button,.nav-icon{
    font-size: 14px;
}
@media screen and (min-height:800px){
    .web > .first > .province{
        height:r(540);
        width: r(635);
    }
    .web>.first>.test{
        top:r(522) !important;
    }
    .web > .first > .aboutDescription{
        bottom: r(205);
    }
}
@media screen and (max-height:500px){
    .web > .first > .province{
        top: 1.5%;
        width: 73%;
    }
    .web > .first > .test{
        font-size: 18px;
    }
    .web > .first > .aboutDescription {
        bottom: 2.25rem;
    }
    .web > .first > .aboutDescription > h1{
        font-size: 0.55rem;
    } 
    .web > .map{
        margin-top: 2.3rem;
    }  
}
